package com.deyuanyun.pic.ctrl.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RecodeCpPowerExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RecodeCpPowerExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID_ is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID_ is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID_ =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID_ <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID_ >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID_ >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID_ <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID_ <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID_ like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID_ not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID_ in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID_ not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID_ between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID_ not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("CREATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("CREATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("CREATE_DATE =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("CREATE_DATE <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("CREATE_DATE >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("CREATE_DATE <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_DATE <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("CREATE_DATE in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("CREATE_DATE not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_DATE not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIsNull() {
            addCriterion("CREATE_REMARK is null");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIsNotNull() {
            addCriterion("CREATE_REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkEqualTo(String value) {
            addCriterion("CREATE_REMARK =", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotEqualTo(String value) {
            addCriterion("CREATE_REMARK <>", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkGreaterThan(String value) {
            addCriterion("CREATE_REMARK >", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_REMARK >=", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLessThan(String value) {
            addCriterion("CREATE_REMARK <", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLessThanOrEqualTo(String value) {
            addCriterion("CREATE_REMARK <=", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkLike(String value) {
            addCriterion("CREATE_REMARK like", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotLike(String value) {
            addCriterion("CREATE_REMARK not like", value, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkIn(List<String> values) {
            addCriterion("CREATE_REMARK in", values, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotIn(List<String> values) {
            addCriterion("CREATE_REMARK not in", values, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkBetween(String value1, String value2) {
            addCriterion("CREATE_REMARK between", value1, value2, "createRemark");
            return (Criteria) this;
        }

        public Criteria andCreateRemarkNotBetween(String value1, String value2) {
            addCriterion("CREATE_REMARK not between", value1, value2, "createRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("UPDATE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("UPDATE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("UPDATE_DATE =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("UPDATE_DATE <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("UPDATE_DATE >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_DATE >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("UPDATE_DATE <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_DATE <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("UPDATE_DATE in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("UPDATE_DATE not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("UPDATE_DATE between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_DATE not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("UPDATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("UPDATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("UPDATE_USER =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("UPDATE_USER <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("UPDATE_USER >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("UPDATE_USER <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_USER <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("UPDATE_USER like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("UPDATE_USER not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("UPDATE_USER in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("UPDATE_USER not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("UPDATE_USER between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("UPDATE_USER not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIsNull() {
            addCriterion("UPDATE_REMARK is null");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIsNotNull() {
            addCriterion("UPDATE_REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkEqualTo(String value) {
            addCriterion("UPDATE_REMARK =", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotEqualTo(String value) {
            addCriterion("UPDATE_REMARK <>", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkGreaterThan(String value) {
            addCriterion("UPDATE_REMARK >", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATE_REMARK >=", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLessThan(String value) {
            addCriterion("UPDATE_REMARK <", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLessThanOrEqualTo(String value) {
            addCriterion("UPDATE_REMARK <=", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkLike(String value) {
            addCriterion("UPDATE_REMARK like", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotLike(String value) {
            addCriterion("UPDATE_REMARK not like", value, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkIn(List<String> values) {
            addCriterion("UPDATE_REMARK in", values, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotIn(List<String> values) {
            addCriterion("UPDATE_REMARK not in", values, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkBetween(String value1, String value2) {
            addCriterion("UPDATE_REMARK between", value1, value2, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andUpdateRemarkNotBetween(String value1, String value2) {
            addCriterion("UPDATE_REMARK not between", value1, value2, "updateRemark");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("DELETED is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("DELETED is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Short value) {
            addCriterion("DELETED =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Short value) {
            addCriterion("DELETED <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Short value) {
            addCriterion("DELETED >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Short value) {
            addCriterion("DELETED >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Short value) {
            addCriterion("DELETED <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Short value) {
            addCriterion("DELETED <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Short> values) {
            addCriterion("DELETED in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Short> values) {
            addCriterion("DELETED not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Short value1, Short value2) {
            addCriterion("DELETED between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Short value1, Short value2) {
            addCriterion("DELETED not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("VERSION is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("VERSION is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(Short value) {
            addCriterion("VERSION =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(Short value) {
            addCriterion("VERSION <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(Short value) {
            addCriterion("VERSION >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(Short value) {
            addCriterion("VERSION >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(Short value) {
            addCriterion("VERSION <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(Short value) {
            addCriterion("VERSION <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<Short> values) {
            addCriterion("VERSION in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<Short> values) {
            addCriterion("VERSION not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(Short value1, Short value2) {
            addCriterion("VERSION between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(Short value1, Short value2) {
            addCriterion("VERSION not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andIsNewestIsNull() {
            addCriterion("IS_NEWEST is null");
            return (Criteria) this;
        }

        public Criteria andIsNewestIsNotNull() {
            addCriterion("IS_NEWEST is not null");
            return (Criteria) this;
        }

        public Criteria andIsNewestEqualTo(Short value) {
            addCriterion("IS_NEWEST =", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestNotEqualTo(Short value) {
            addCriterion("IS_NEWEST <>", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestGreaterThan(Short value) {
            addCriterion("IS_NEWEST >", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestGreaterThanOrEqualTo(Short value) {
            addCriterion("IS_NEWEST >=", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestLessThan(Short value) {
            addCriterion("IS_NEWEST <", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestLessThanOrEqualTo(Short value) {
            addCriterion("IS_NEWEST <=", value, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestIn(List<Short> values) {
            addCriterion("IS_NEWEST in", values, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestNotIn(List<Short> values) {
            addCriterion("IS_NEWEST not in", values, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestBetween(Short value1, Short value2) {
            addCriterion("IS_NEWEST between", value1, value2, "isNewest");
            return (Criteria) this;
        }

        public Criteria andIsNewestNotBetween(Short value1, Short value2) {
            addCriterion("IS_NEWEST not between", value1, value2, "isNewest");
            return (Criteria) this;
        }

        public Criteria andDataStatedIsNull() {
            addCriterion("DATA_STATED is null");
            return (Criteria) this;
        }

        public Criteria andDataStatedIsNotNull() {
            addCriterion("DATA_STATED is not null");
            return (Criteria) this;
        }

        public Criteria andDataStatedEqualTo(String value) {
            addCriterion("DATA_STATED =", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotEqualTo(String value) {
            addCriterion("DATA_STATED <>", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedGreaterThan(String value) {
            addCriterion("DATA_STATED >", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedGreaterThanOrEqualTo(String value) {
            addCriterion("DATA_STATED >=", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedLessThan(String value) {
            addCriterion("DATA_STATED <", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedLessThanOrEqualTo(String value) {
            addCriterion("DATA_STATED <=", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedLike(String value) {
            addCriterion("DATA_STATED like", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotLike(String value) {
            addCriterion("DATA_STATED not like", value, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedIn(List<String> values) {
            addCriterion("DATA_STATED in", values, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotIn(List<String> values) {
            addCriterion("DATA_STATED not in", values, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedBetween(String value1, String value2) {
            addCriterion("DATA_STATED between", value1, value2, "dataStated");
            return (Criteria) this;
        }

        public Criteria andDataStatedNotBetween(String value1, String value2) {
            addCriterion("DATA_STATED not between", value1, value2, "dataStated");
            return (Criteria) this;
        }

        public Criteria andCppowerIdIsNull() {
            addCriterion("CPPOWER_ID is null");
            return (Criteria) this;
        }

        public Criteria andCppowerIdIsNotNull() {
            addCriterion("CPPOWER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCppowerIdEqualTo(String value) {
            addCriterion("CPPOWER_ID =", value, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdNotEqualTo(String value) {
            addCriterion("CPPOWER_ID <>", value, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdGreaterThan(String value) {
            addCriterion("CPPOWER_ID >", value, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdGreaterThanOrEqualTo(String value) {
            addCriterion("CPPOWER_ID >=", value, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdLessThan(String value) {
            addCriterion("CPPOWER_ID <", value, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdLessThanOrEqualTo(String value) {
            addCriterion("CPPOWER_ID <=", value, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdLike(String value) {
            addCriterion("CPPOWER_ID like", value, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdNotLike(String value) {
            addCriterion("CPPOWER_ID not like", value, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdIn(List<String> values) {
            addCriterion("CPPOWER_ID in", values, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdNotIn(List<String> values) {
            addCriterion("CPPOWER_ID not in", values, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdBetween(String value1, String value2) {
            addCriterion("CPPOWER_ID between", value1, value2, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCppowerIdNotBetween(String value1, String value2) {
            addCriterion("CPPOWER_ID not between", value1, value2, "cppowerId");
            return (Criteria) this;
        }

        public Criteria andCustomNumberIsNull() {
            addCriterion("CUSTOM_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andCustomNumberIsNotNull() {
            addCriterion("CUSTOM_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andCustomNumberEqualTo(String value) {
            addCriterion("CUSTOM_NUMBER =", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberNotEqualTo(String value) {
            addCriterion("CUSTOM_NUMBER <>", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberGreaterThan(String value) {
            addCriterion("CUSTOM_NUMBER >", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberGreaterThanOrEqualTo(String value) {
            addCriterion("CUSTOM_NUMBER >=", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberLessThan(String value) {
            addCriterion("CUSTOM_NUMBER <", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberLessThanOrEqualTo(String value) {
            addCriterion("CUSTOM_NUMBER <=", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberLike(String value) {
            addCriterion("CUSTOM_NUMBER like", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberNotLike(String value) {
            addCriterion("CUSTOM_NUMBER not like", value, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberIn(List<String> values) {
            addCriterion("CUSTOM_NUMBER in", values, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberNotIn(List<String> values) {
            addCriterion("CUSTOM_NUMBER not in", values, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberBetween(String value1, String value2) {
            addCriterion("CUSTOM_NUMBER between", value1, value2, "customNumber");
            return (Criteria) this;
        }

        public Criteria andCustomNumberNotBetween(String value1, String value2) {
            addCriterion("CUSTOM_NUMBER not between", value1, value2, "customNumber");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageIsNull() {
            addCriterion("OUTPUT_VOLTAGE is null");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageIsNotNull() {
            addCriterion("OUTPUT_VOLTAGE is not null");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageEqualTo(BigDecimal value) {
            addCriterion("OUTPUT_VOLTAGE =", value, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageNotEqualTo(BigDecimal value) {
            addCriterion("OUTPUT_VOLTAGE <>", value, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageGreaterThan(BigDecimal value) {
            addCriterion("OUTPUT_VOLTAGE >", value, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("OUTPUT_VOLTAGE >=", value, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageLessThan(BigDecimal value) {
            addCriterion("OUTPUT_VOLTAGE <", value, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("OUTPUT_VOLTAGE <=", value, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageIn(List<BigDecimal> values) {
            addCriterion("OUTPUT_VOLTAGE in", values, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageNotIn(List<BigDecimal> values) {
            addCriterion("OUTPUT_VOLTAGE not in", values, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OUTPUT_VOLTAGE between", value1, value2, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputVoltageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OUTPUT_VOLTAGE not between", value1, value2, "outputVoltage");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentIsNull() {
            addCriterion("OUTPUT_CURRENT is null");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentIsNotNull() {
            addCriterion("OUTPUT_CURRENT is not null");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentEqualTo(BigDecimal value) {
            addCriterion("OUTPUT_CURRENT =", value, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentNotEqualTo(BigDecimal value) {
            addCriterion("OUTPUT_CURRENT <>", value, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentGreaterThan(BigDecimal value) {
            addCriterion("OUTPUT_CURRENT >", value, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("OUTPUT_CURRENT >=", value, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentLessThan(BigDecimal value) {
            addCriterion("OUTPUT_CURRENT <", value, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentLessThanOrEqualTo(BigDecimal value) {
            addCriterion("OUTPUT_CURRENT <=", value, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentIn(List<BigDecimal> values) {
            addCriterion("OUTPUT_CURRENT in", values, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentNotIn(List<BigDecimal> values) {
            addCriterion("OUTPUT_CURRENT not in", values, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OUTPUT_CURRENT between", value1, value2, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andOutputCurrentNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OUTPUT_CURRENT not between", value1, value2, "outputCurrent");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialIsNull() {
            addCriterion("SETTING_POTENTIAL is null");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialIsNotNull() {
            addCriterion("SETTING_POTENTIAL is not null");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialEqualTo(Long value) {
            addCriterion("SETTING_POTENTIAL =", value, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialNotEqualTo(Long value) {
            addCriterion("SETTING_POTENTIAL <>", value, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialGreaterThan(Long value) {
            addCriterion("SETTING_POTENTIAL >", value, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialGreaterThanOrEqualTo(Long value) {
            addCriterion("SETTING_POTENTIAL >=", value, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialLessThan(Long value) {
            addCriterion("SETTING_POTENTIAL <", value, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialLessThanOrEqualTo(Long value) {
            addCriterion("SETTING_POTENTIAL <=", value, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialIn(List<Integer> values) {
            addCriterion("SETTING_POTENTIAL in", values, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialNotIn(List<Integer> values) {
            addCriterion("SETTING_POTENTIAL not in", values, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialBetween(Long value1, Long value2) {
            addCriterion("SETTING_POTENTIAL between", value1, value2, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andSettingPotentialNotBetween(Long value1, Long value2) {
            addCriterion("SETTING_POTENTIAL not between", value1, value2, "settingPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialIsNull() {
            addCriterion("METRICAL_POTENTIAL is null");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialIsNotNull() {
            addCriterion("METRICAL_POTENTIAL is not null");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialEqualTo(Long value) {
            addCriterion("METRICAL_POTENTIAL =", value, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialNotEqualTo(Long value) {
            addCriterion("METRICAL_POTENTIAL <>", value, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialGreaterThan(Long value) {
            addCriterion("METRICAL_POTENTIAL >", value, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialGreaterThanOrEqualTo(Long value) {
            addCriterion("METRICAL_POTENTIAL >=", value, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialLessThan(Long value) {
            addCriterion("METRICAL_POTENTIAL <", value, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialLessThanOrEqualTo(Long value) {
            addCriterion("METRICAL_POTENTIAL <=", value, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialIn(List<Integer> values) {
            addCriterion("METRICAL_POTENTIAL in", values, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialNotIn(List<Integer> values) {
            addCriterion("METRICAL_POTENTIAL not in", values, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialBetween(Long value1, Long value2) {
            addCriterion("METRICAL_POTENTIAL between", value1, value2, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andMetricalPotentialNotBetween(Long value1, Long value2) {
            addCriterion("METRICAL_POTENTIAL not between", value1, value2, "metricalPotential");
            return (Criteria) this;
        }

        public Criteria andActiveStatedIsNull() {
            addCriterion("ACTIVE_STATED is null");
            return (Criteria) this;
        }

        public Criteria andActiveStatedIsNotNull() {
            addCriterion("ACTIVE_STATED is not null");
            return (Criteria) this;
        }

        public Criteria andActiveStatedEqualTo(String value) {
            addCriterion("ACTIVE_STATED =", value, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedNotEqualTo(String value) {
            addCriterion("ACTIVE_STATED <>", value, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedGreaterThan(String value) {
            addCriterion("ACTIVE_STATED >", value, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedGreaterThanOrEqualTo(String value) {
            addCriterion("ACTIVE_STATED >=", value, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedLessThan(String value) {
            addCriterion("ACTIVE_STATED <", value, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedLessThanOrEqualTo(String value) {
            addCriterion("ACTIVE_STATED <=", value, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedLike(String value) {
            addCriterion("ACTIVE_STATED like", value, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedNotLike(String value) {
            addCriterion("ACTIVE_STATED not like", value, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedIn(List<String> values) {
            addCriterion("ACTIVE_STATED in", values, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedNotIn(List<String> values) {
            addCriterion("ACTIVE_STATED not in", values, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedBetween(String value1, String value2) {
            addCriterion("ACTIVE_STATED between", value1, value2, "activeStated");
            return (Criteria) this;
        }

        public Criteria andActiveStatedNotBetween(String value1, String value2) {
            addCriterion("ACTIVE_STATED not between", value1, value2, "activeStated");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateIsNull() {
            addCriterion("DOWN_BEGIN_DATE is null");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateIsNotNull() {
            addCriterion("DOWN_BEGIN_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateEqualTo(Date value) {
            addCriterion("DOWN_BEGIN_DATE =", value, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateNotEqualTo(Date value) {
            addCriterion("DOWN_BEGIN_DATE <>", value, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateGreaterThan(Date value) {
            addCriterion("DOWN_BEGIN_DATE >", value, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("DOWN_BEGIN_DATE >=", value, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateLessThan(Date value) {
            addCriterion("DOWN_BEGIN_DATE <", value, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateLessThanOrEqualTo(Date value) {
            addCriterion("DOWN_BEGIN_DATE <=", value, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateIn(List<Date> values) {
            addCriterion("DOWN_BEGIN_DATE in", values, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateNotIn(List<Date> values) {
            addCriterion("DOWN_BEGIN_DATE not in", values, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateBetween(Date value1, Date value2) {
            addCriterion("DOWN_BEGIN_DATE between", value1, value2, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownBeginDateNotBetween(Date value1, Date value2) {
            addCriterion("DOWN_BEGIN_DATE not between", value1, value2, "downBeginDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateIsNull() {
            addCriterion("DOWN_END_DATE is null");
            return (Criteria) this;
        }

        public Criteria andDownEndDateIsNotNull() {
            addCriterion("DOWN_END_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andDownEndDateEqualTo(Date value) {
            addCriterion("DOWN_END_DATE =", value, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateNotEqualTo(Date value) {
            addCriterion("DOWN_END_DATE <>", value, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateGreaterThan(Date value) {
            addCriterion("DOWN_END_DATE >", value, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("DOWN_END_DATE >=", value, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateLessThan(Date value) {
            addCriterion("DOWN_END_DATE <", value, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateLessThanOrEqualTo(Date value) {
            addCriterion("DOWN_END_DATE <=", value, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateIn(List<Date> values) {
            addCriterion("DOWN_END_DATE in", values, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateNotIn(List<Date> values) {
            addCriterion("DOWN_END_DATE not in", values, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateBetween(Date value1, Date value2) {
            addCriterion("DOWN_END_DATE between", value1, value2, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownEndDateNotBetween(Date value1, Date value2) {
            addCriterion("DOWN_END_DATE not between", value1, value2, "downEndDate");
            return (Criteria) this;
        }

        public Criteria andDownReasonIsNull() {
            addCriterion("DOWN_REASON is null");
            return (Criteria) this;
        }

        public Criteria andDownReasonIsNotNull() {
            addCriterion("DOWN_REASON is not null");
            return (Criteria) this;
        }

        public Criteria andDownReasonEqualTo(String value) {
            addCriterion("DOWN_REASON =", value, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonNotEqualTo(String value) {
            addCriterion("DOWN_REASON <>", value, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonGreaterThan(String value) {
            addCriterion("DOWN_REASON >", value, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonGreaterThanOrEqualTo(String value) {
            addCriterion("DOWN_REASON >=", value, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonLessThan(String value) {
            addCriterion("DOWN_REASON <", value, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonLessThanOrEqualTo(String value) {
            addCriterion("DOWN_REASON <=", value, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonLike(String value) {
            addCriterion("DOWN_REASON like", value, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonNotLike(String value) {
            addCriterion("DOWN_REASON not like", value, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonIn(List<String> values) {
            addCriterion("DOWN_REASON in", values, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonNotIn(List<String> values) {
            addCriterion("DOWN_REASON not in", values, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonBetween(String value1, String value2) {
            addCriterion("DOWN_REASON between", value1, value2, "downReason");
            return (Criteria) this;
        }

        public Criteria andDownReasonNotBetween(String value1, String value2) {
            addCriterion("DOWN_REASON not between", value1, value2, "downReason");
            return (Criteria) this;
        }

        public Criteria andGroundingIsNull() {
            addCriterion("GROUNDING is null");
            return (Criteria) this;
        }

        public Criteria andGroundingIsNotNull() {
            addCriterion("GROUNDING is not null");
            return (Criteria) this;
        }

        public Criteria andGroundingEqualTo(String value) {
            addCriterion("GROUNDING =", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingNotEqualTo(String value) {
            addCriterion("GROUNDING <>", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingGreaterThan(String value) {
            addCriterion("GROUNDING >", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingGreaterThanOrEqualTo(String value) {
            addCriterion("GROUNDING >=", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingLessThan(String value) {
            addCriterion("GROUNDING <", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingLessThanOrEqualTo(String value) {
            addCriterion("GROUNDING <=", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingLike(String value) {
            addCriterion("GROUNDING like", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingNotLike(String value) {
            addCriterion("GROUNDING not like", value, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingIn(List<String> values) {
            addCriterion("GROUNDING in", values, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingNotIn(List<String> values) {
            addCriterion("GROUNDING not in", values, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingBetween(String value1, String value2) {
            addCriterion("GROUNDING between", value1, value2, "grounding");
            return (Criteria) this;
        }

        public Criteria andGroundingNotBetween(String value1, String value2) {
            addCriterion("GROUNDING not between", value1, value2, "grounding");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordIsNull() {
            addCriterion("ANNUAL_REPAIR_RECORD is null");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordIsNotNull() {
            addCriterion("ANNUAL_REPAIR_RECORD is not null");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordEqualTo(String value) {
            addCriterion("ANNUAL_REPAIR_RECORD =", value, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordNotEqualTo(String value) {
            addCriterion("ANNUAL_REPAIR_RECORD <>", value, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordGreaterThan(String value) {
            addCriterion("ANNUAL_REPAIR_RECORD >", value, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordGreaterThanOrEqualTo(String value) {
            addCriterion("ANNUAL_REPAIR_RECORD >=", value, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordLessThan(String value) {
            addCriterion("ANNUAL_REPAIR_RECORD <", value, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordLessThanOrEqualTo(String value) {
            addCriterion("ANNUAL_REPAIR_RECORD <=", value, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordLike(String value) {
            addCriterion("ANNUAL_REPAIR_RECORD like", value, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordNotLike(String value) {
            addCriterion("ANNUAL_REPAIR_RECORD not like", value, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordIn(List<String> values) {
            addCriterion("ANNUAL_REPAIR_RECORD in", values, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordNotIn(List<String> values) {
            addCriterion("ANNUAL_REPAIR_RECORD not in", values, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordBetween(String value1, String value2) {
            addCriterion("ANNUAL_REPAIR_RECORD between", value1, value2, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andAnnualRepairRecordNotBetween(String value1, String value2) {
            addCriterion("ANNUAL_REPAIR_RECORD not between", value1, value2, "annualRepairRecord");
            return (Criteria) this;
        }

        public Criteria andExceptionIdIsNull() {
            addCriterion("EXCEPTION_ID is null");
            return (Criteria) this;
        }

        public Criteria andExceptionIdIsNotNull() {
            addCriterion("EXCEPTION_ID is not null");
            return (Criteria) this;
        }

        public Criteria andExceptionIdEqualTo(String value) {
            addCriterion("EXCEPTION_ID =", value, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdNotEqualTo(String value) {
            addCriterion("EXCEPTION_ID <>", value, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdGreaterThan(String value) {
            addCriterion("EXCEPTION_ID >", value, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdGreaterThanOrEqualTo(String value) {
            addCriterion("EXCEPTION_ID >=", value, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdLessThan(String value) {
            addCriterion("EXCEPTION_ID <", value, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdLessThanOrEqualTo(String value) {
            addCriterion("EXCEPTION_ID <=", value, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdLike(String value) {
            addCriterion("EXCEPTION_ID like", value, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdNotLike(String value) {
            addCriterion("EXCEPTION_ID not like", value, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdIn(List<String> values) {
            addCriterion("EXCEPTION_ID in", values, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdNotIn(List<String> values) {
            addCriterion("EXCEPTION_ID not in", values, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdBetween(String value1, String value2) {
            addCriterion("EXCEPTION_ID between", value1, value2, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andExceptionIdNotBetween(String value1, String value2) {
            addCriterion("EXCEPTION_ID not between", value1, value2, "exceptionId");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckIsNull() {
            addCriterion("CONNECTION_CHECK is null");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckIsNotNull() {
            addCriterion("CONNECTION_CHECK is not null");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckEqualTo(String value) {
            addCriterion("CONNECTION_CHECK =", value, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckNotEqualTo(String value) {
            addCriterion("CONNECTION_CHECK <>", value, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckGreaterThan(String value) {
            addCriterion("CONNECTION_CHECK >", value, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckGreaterThanOrEqualTo(String value) {
            addCriterion("CONNECTION_CHECK >=", value, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckLessThan(String value) {
            addCriterion("CONNECTION_CHECK <", value, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckLessThanOrEqualTo(String value) {
            addCriterion("CONNECTION_CHECK <=", value, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckLike(String value) {
            addCriterion("CONNECTION_CHECK like", value, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckNotLike(String value) {
            addCriterion("CONNECTION_CHECK not like", value, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckIn(List<String> values) {
            addCriterion("CONNECTION_CHECK in", values, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckNotIn(List<String> values) {
            addCriterion("CONNECTION_CHECK not in", values, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckBetween(String value1, String value2) {
            addCriterion("CONNECTION_CHECK between", value1, value2, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andConnectionCheckNotBetween(String value1, String value2) {
            addCriterion("CONNECTION_CHECK not between", value1, value2, "connectionCheck");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationIsNull() {
            addCriterion("INSTRUMENT_CALIBRATION is null");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationIsNotNull() {
            addCriterion("INSTRUMENT_CALIBRATION is not null");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationEqualTo(String value) {
            addCriterion("INSTRUMENT_CALIBRATION =", value, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationNotEqualTo(String value) {
            addCriterion("INSTRUMENT_CALIBRATION <>", value, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationGreaterThan(String value) {
            addCriterion("INSTRUMENT_CALIBRATION >", value, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationGreaterThanOrEqualTo(String value) {
            addCriterion("INSTRUMENT_CALIBRATION >=", value, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationLessThan(String value) {
            addCriterion("INSTRUMENT_CALIBRATION <", value, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationLessThanOrEqualTo(String value) {
            addCriterion("INSTRUMENT_CALIBRATION <=", value, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationLike(String value) {
            addCriterion("INSTRUMENT_CALIBRATION like", value, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationNotLike(String value) {
            addCriterion("INSTRUMENT_CALIBRATION not like", value, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationIn(List<String> values) {
            addCriterion("INSTRUMENT_CALIBRATION in", values, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationNotIn(List<String> values) {
            addCriterion("INSTRUMENT_CALIBRATION not in", values, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationBetween(String value1, String value2) {
            addCriterion("INSTRUMENT_CALIBRATION between", value1, value2, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andInstrumentCalibrationNotBetween(String value1, String value2) {
            addCriterion("INSTRUMENT_CALIBRATION not between", value1, value2, "instrumentCalibration");
            return (Criteria) this;
        }

        public Criteria andRecorderIsNull() {
            addCriterion("RECORDER is null");
            return (Criteria) this;
        }

        public Criteria andRecorderIsNotNull() {
            addCriterion("RECORDER is not null");
            return (Criteria) this;
        }

        public Criteria andRecorderEqualTo(String value) {
            addCriterion("RECORDER =", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderNotEqualTo(String value) {
            addCriterion("RECORDER <>", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderGreaterThan(String value) {
            addCriterion("RECORDER >", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderGreaterThanOrEqualTo(String value) {
            addCriterion("RECORDER >=", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderLessThan(String value) {
            addCriterion("RECORDER <", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderLessThanOrEqualTo(String value) {
            addCriterion("RECORDER <=", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderLike(String value) {
            addCriterion("RECORDER like", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderNotLike(String value) {
            addCriterion("RECORDER not like", value, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderIn(List<String> values) {
            addCriterion("RECORDER in", values, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderNotIn(List<String> values) {
            addCriterion("RECORDER not in", values, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderBetween(String value1, String value2) {
            addCriterion("RECORDER between", value1, value2, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecorderNotBetween(String value1, String value2) {
            addCriterion("RECORDER not between", value1, value2, "recorder");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNull() {
            addCriterion("RECORD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNotNull() {
            addCriterion("RECORD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeEqualTo(Date value) {
            addCriterion("RECORD_TIME =", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotEqualTo(Date value) {
            addCriterion("RECORD_TIME <>", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThan(Date value) {
            addCriterion("RECORD_TIME >", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME >=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThan(Date value) {
            addCriterion("RECORD_TIME <", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME <=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIn(List<Date> values) {
            addCriterion("RECORD_TIME in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotIn(List<Date> values) {
            addCriterion("RECORD_TIME not in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME not between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("REMARKS is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("REMARKS is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("REMARKS =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("REMARKS <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("REMARKS >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("REMARKS >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("REMARKS <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("REMARKS <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("REMARKS like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("REMARKS not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("REMARKS in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("REMARKS not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("REMARKS between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("REMARKS not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathIsNull() {
            addCriterion("ORG_BIZ_PATH is null");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathIsNotNull() {
            addCriterion("ORG_BIZ_PATH is not null");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH =", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH <>", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathGreaterThan(String value) {
            addCriterion("ORG_BIZ_PATH >", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH >=", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathLessThan(String value) {
            addCriterion("ORG_BIZ_PATH <", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathLessThanOrEqualTo(String value) {
            addCriterion("ORG_BIZ_PATH <=", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathLike(String value) {
            addCriterion("ORG_BIZ_PATH like", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotLike(String value) {
            addCriterion("ORG_BIZ_PATH not like", value, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathIn(List<String> values) {
            addCriterion("ORG_BIZ_PATH in", values, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotIn(List<String> values) {
            addCriterion("ORG_BIZ_PATH not in", values, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathBetween(String value1, String value2) {
            addCriterion("ORG_BIZ_PATH between", value1, value2, "orgBizPath");
            return (Criteria) this;
        }

        public Criteria andOrgBizPathNotBetween(String value1, String value2) {
            addCriterion("ORG_BIZ_PATH not between", value1, value2, "orgBizPath");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}